package cn.wolfcode.service;

import cn.wolfcode.domain.Customer;
import cn.wolfcode.domain.CustomerTraceHistory;
import cn.wolfcode.qo.CustomerQueryObject;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {
    void delete(Long id);

    void insert(Customer customer);

    Customer selectByPrimaryKey(Long id);

    List<Customer> selectAll();

    void update(Customer customer);

    PageInfo<Customer> query(CustomerQueryObject qo);

    //保存跟进用户历史
    void insert(CustomerTraceHistory customerTraceHistory);

    //修改客户的跟进员工
    void updateSellerId(Long customerId, Long sellerId);
}
